package cn.edu.scau.cmi.luotiansheng.hibernate.service;

import java.util.List;

import cn.edu.scau.cmi.luotiansheng.hibernate.domain.Student;
import cn.edu.scau.cmi.luotiansheng.hibernate.domain.Teacher;

public interface TeacherService {

	public Teacher getTea(Long id);
	
	public List<Teacher> getAllTeacher();
	
	public void delTea(Teacher tea);
	
	public void saveTea(Teacher tea);
	
	public void updateTea(Teacher tea);
	
	public void updateStuinfo(Student stu);
	
	
}
